<template>
  <div class="dashboard-container">
    <div class="app-container">
      <el-tabs>
        <el-tab-pane label="登录账户设置">
          <LoginSetting></LoginSetting>
        </el-tab-pane>
        <el-tab-pane label="个人详情">
          <UserInfo></UserInfo>
        </el-tab-pane>
        <el-tab-pane label="岗位信息">
          <component :is="job"></component>
        </el-tab-pane>
      </el-tabs>
    </div>
  </div>
</template>

<script>
  import JobInfo from './detail/job-info.vue'
  import LoginSetting from './detail/login-setting.vue'
  import UserInfo from './detail/user-info.vue'
  export default {
    components: { JobInfo, LoginSetting, UserInfo },
    data () {
      return {
        job: 'JobInfo'
      }
    },
  }
</script>

<style lang="scss" scoped></style>